package org.linlinjava.litemall.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.ServiceOrderDetails;
import org.linlinjava.litemall.db.domain.ServiceOrderDetailsExample;

public interface ServiceOrderDetailsMapper {
    long countByExample(ServiceOrderDetailsExample example);

    int deleteByExample(ServiceOrderDetailsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ServiceOrderDetails record);

    int insertSelective(ServiceOrderDetails record);

    List<ServiceOrderDetails> selectByExample(ServiceOrderDetailsExample example);

    ServiceOrderDetails selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ServiceOrderDetails record, @Param("example") ServiceOrderDetailsExample example);

    int updateByExample(@Param("record") ServiceOrderDetails record, @Param("example") ServiceOrderDetailsExample example);

    int updateByPrimaryKeySelective(ServiceOrderDetails record);

    int updateByPrimaryKey(ServiceOrderDetails record);
}